package rsvp.util.referencing;

/**
 * This class is created to be able to pass as reference an boolean value
 * @author Kuki Szabolcs @data 2002-01-01
 */
public class BooleanReference
{
    /**
     * The boolean value which is passed as reference
     */
    public boolean boolValue = false;


    /**
     * Default constructor boolValue = 0;
     */
    public BooleanReference()
    {
        boolValue = false;
    }

    /**
     * When constructed it will init the boolean value to a user specified value
     * @param inputValue
     */
    public BooleanReference(boolean inputValue)
    {
        boolValue = inputValue;
    }

    /**
     * When constructed it will init the boolean value to a user specified value
     * @param inputValue
     */
    public BooleanReference(Boolean inputValue)
    {
        boolValue = inputValue.booleanValue();
    }

}
